package com.zhangh.summer.admin.biz.login;

import com.zhangh.summer.admin.model.bo.LoginBO;
import com.zhangh.summer.admin.model.bo.SessionUserBO;
import com.zhangh.summer.admin.support.session.SessionUser;

/**
 * @description: TODO
 * @author: zhanghui  zhanghlucky@163.com
 * @create: 2021-09-28 21:32
 **/
public interface LoginBiz {

    public SessionUser login(LoginBO loginBO);

    public SessionUserBO loginWithMenu(LoginBO loginBO);

    public void loginOut(String token);

    public boolean loginCheck(String token);

    public String getSessionUserFromRedis(String token);

}
